package P155;

public class Simulator {
    public void playSound(Animal animal) {
        System.out.println(animal.getAnimalName() + "类的声音:" );
        animal.cry();
    }
}
